# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       加一
# Name:         demo4.15
# Description:  下面的代码再分片时指定步长，但省略了开始索引以及结束索引
# Author:       加一
# Date:         2019/2/25
#-------------------------------------------------------------------------------

numbers = [1,2,3,4,5,6,7,8,9]
print(numbers[:7:2])
print(numbers[::2])
print(numbers[3::2])